package com.ebao.tec.entity;

import java.io.Serializable;

/**
 * EXAM_COMPANY
 * @author 
 */
public class Company implements Serializable {
    /**
     * 单位表主键
     */
    private Integer companyId;

    /**
     * 电力公司
     */
    private String companyName;

    /**
     * 单位描述
     */
    private String companyDes;

    /**
     * 上级电力公司(最顶级值为0)
     */
    private Integer parentsId;

    private static final long serialVersionUID = 1L;

    public Integer getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Integer companyId) {
        this.companyId = companyId;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getCompanyDes() {
        return companyDes;
    }

    public void setCompanyDes(String companyDes) {
        this.companyDes = companyDes;
    }

    public Integer getParentsId() {
        return parentsId;
    }

    public void setParentsId(Integer parentsId) {
        this.parentsId = parentsId;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("Company{");
        sb.append("companyId=").append(companyId);
        sb.append(", companyName='").append(companyName).append('\'');
        sb.append(", companyDes='").append(companyDes).append('\'');
        sb.append(", parentsId=").append(parentsId);
        sb.append('}');
        return sb.toString();
    }
}